Modify etcyum. repos. the enable12 command in the debuginfo directory in the dCentOS-Debuginfo.repo: yuminstallnss-softokn-debuginfo -- nogpgcheck if you directly execute the debuginfo-install command, nss-softokn-enabled will appear, that is, no
Debugging a Python process with gdb sometimes we want to debug a running Python process, or a Python process coredump. For example, now encountered a MOD_WSGI process zombie, do not accept the request, want to see exactly what line of Python code to
C Combat: Powerful program Debugging Tool GDB1. Basic debuggingOnly the most commonly used GDB commands are listed here.1.1 Start GDBGDB Program: Prepare the debugger. You can also go directly to GDB and then load it through the file command.1.2
When debugging with GDB under CentOS6.4,When using the BT (breaktrace) command, the following prompt pops up:First day Tip:Missing separate Debuginfos, Use:debuginfo-install glibc-2.12-1.107.el6.i686Problem is not resolved, the next day
When using GDB for debugging under CentOS6.4,
When you use the BT (breaktrace) command, the following prompts are displayed:
First day Tip:
Missing separate Debuginfos, Use:debuginfo-install glibc-2.12-1.107.el6.i686
The problem is not resolved,
Environment: centos6.2 64-bitOperation: Use GDB to debug the C ++ query MySQL database programCause:Solution:1. Modify the enabled parameter in the file/etc/yum. Repos. d/CentOS-Debuginfo.repo to 1, such as: VI/etc/yum. Repos.
I recently tried to learn about nginx. Of course, it is essential to prepare a debug environment for nginx. Compile the nginx debug version according to the articles on the Internet, and use GDB to set the breakpoint. After searching for some
The Code is as follows:
# Include void Hello () { int I = 0; printf ("I = % d, hello World/N ", I); } int main () { Hello (); return 0; }
GDB generates debugging information and goes in to see it.
Set breakpoint 1 at hello and breakpoint 2 at
Using GDB on CENTOS7:$ gdb php$ run/home/www/2.phpAfter running run, follow a long hint:....Missing separate Debuginfos, Use:debuginfo-install cyrus-sasl-lib-2.1.26-17.el7.x86_64 glibc-2.17-55.el7_0.3.x86_64 keyutils-libs-1.5.8-3.el7.x86_64
By default, the library function does not contain debugging information when debugging printf source code centos with gdb on centos. Therefore, gdb cannot be used to access the printf () function. Www.2cto.com solution: 1. install debugging
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.